 /*Webkit*/

::-webkit-scrollbar-track {background-color:var(--background-color)!important;}

::-webkit-scrollbar-thumb {-webkit-border-radius: 0px!important;border-radius: 0px!important;background-color:var(--webkit-color)!important;}

::-webkit-scrollbar{width: 8px!important;}

 :root {
    /**
     * CSS variable usage example:
     *
     * background-color: var(--background-color);
     */

	 /*Colors*/
	 /*var(--alternate-background-color) discontinued*/
	 --background-color: #1e2426;
	 --box-bg-color: #1e2426; /*Only Current use is an outline of "New Messages #" */
	 --table-background-color: #1e2426;
	 --alternate-background-color: #262d30; /*Used for every second table row + read torrents*/
	 --header-color: linear-gradient( 45deg, #355C7D, #6C5B7B, #C06C84 );
	 --menu-gradient: linear-gradient( 45deg, #355C7D, #6C5B7B, #C06C84 );
	 --accent-color: #A082BD;
	 --webkit-color: #7C3861;
	 --new-torrent: #262d30;
	 --torrent-child: #2e363a;
	 --box-shadow: pink;
	 --sec-bg-color: #f5f5f5;
    --input-border-color: rgba(0, 0, 0, 0.15);
    --input-select-border-color: rgba(0, 0, 0, 0.15);
	--input-background-color: #2a2d33;
    --input-hover-bg-color: #f5f5f5;
    --unread-color: #6C5B7B;
    --unread-soft-color: #C06C84; /* for torrent group child item */
	--text-color: #d2d2d2;
 }

/* Global */
* {
	padding: 0em;
	margin: 0em;
}

html {
	width: 100%;
}

body {
	width: 100%;
	background-color: var(--background-color);
	font-family: tahoma, helvetica, sans-serif;
	font-size: 9pt;
	color: var(--text-color);
	min-width: 850px;
}

/* Common elements */

a {
	text-decoration: none;
	border: none;
	color: var(--text-color);
}

a:hover {
	color: var(--accent-color);
}

h1,h2,h3,h4 {
	margin: 5px 0px;
	font-weight: bold;
}

h2 {
	text-align: center;
	font-size: 12pt;
}

h4 {
	font-size: 9pt;
}

p {
	margin: 10px 5px;
}

li {
	margin: 5px 15px;
}

input {
	padding: 2px 3px;
}

textarea {
	padding: 2px 3px;
}

img {
	border: none;
}

/* Ratio Colors */

.r00 { color: red; }
.r01 { color: red; }
.r02 { color: red; }
.r03 { color: red; }
.r04 { color: red; }
.r05 { color: red; }
.r06 { color: red; }
.r07 { color: #34e89e; }
.r08 { color: #34e89e; }
.r09 { color: #34e89e; }
.r10 { color: #34e89e; }
.r20 { color: #34e89e; text-shadow: 0 0 1.5px #94f7b0 }
.r50 { color: #34e89e; text-shadow: 0 0 1.5px #94f7b0 }
.r99 { color: #34e89e; text-shadow: 0 0 1.5px #94f7b0 }

/* Styles generated by the BBCode parser */

span.size1 { font-size:0.75em; }
span.size2 { font-size:1em; }
span.size3 { font-size:1.25em; }
span.size4 { font-size:1.5em; }
span.size5 { font-size:1.75em; }
span.size6 { font-size:2em; }
span.size7 { font-size:2.25em; }
span.size8 { font-size:2.5em; }
span.size9 { font-size:2.75em; }
span.size10 { font-size:3em; }

ul.thin { margin:0px 0px 0px 25px; padding:0px; }
ul.thin li { margin:0px 0px; padding:0px; }

/* Layout (Every page) */

#header {
	width: 100%;
	padding: 0px 0 0 0;
	background: var(--background-color);
}

#content {
	margin: auto;
	width: 90%;
	overflow: hidden;
}

#footer {
	margin-top: 40px;
	width: 100%;
	text-align: center;
	padding: 1em 0;
}

#logo {
	width: 728px;
	height: 150px;
	background: url('https://i.imgur.com/4fQRgsI.png') no-repeat top left;
	margin: 0 auto;
}

#logo a {
	border: none;
	width: 728px;
	height: 150px;
	display: block;
}

#logo a:hover {
	border: none;
}

#menu {
        position: absolute;
        top: 177px;
        width: 100%;
        padding: 0.6em 0;
	color: #444;
        text-align: center;
        background: var(--menu-gradient);
        font-size: 10pt;
	font-weight: 900;
}

#menu ul li {
        position: relative;
        display: inline;
        padding: 6px 0;
        margin: 0px;
}

#menu ul li a {
        padding: 0.6em 1.5%;
        color: var(--text-color);
}

#menu ul li a:active {

}

#menu ul li a:hover {
        text-decoration: underline;
}

#userinfo {
	position: absolute;
	top: 208px;
	background: var(--menu-gradient);
	color: var(--text-color);
	padding: 4px 0px;
	width: 100%;
	text-align: center;
	font-size: 9pt;
}

#userinfo img {
	margin-top: -5px;
}

#userinfo ul {
	display: inline;
	margin: 0px 0.8%;
}

#userinfo ul li {
	position: relative;
	display: inline;
	margin: 0 0.1em;
	line-height: 20px;
	vertical-align: middle;
	padding: 0px;
}

#userinfo a {
	color: var(--text-color);
}
#userinfo a:hover {
	text-decoration: underline;
}

#userinfo b a {
	font-weight: normal;
	font-size: 0.9em;
	font-weight: bold;
}

div#search_box td {
    background-color: var(--background-color);
    border: none;
}
div#search_box table {
	border-collapse: unset;
    border: none;
}
div#search_box a {
    font-size: 13px;
	color: var(--text-color);
}
table#taglist.cat_list a:hover {
    color: var(--accent-color);
}

#searchbars {
	position: absolute;
	top: 151px;
	width: 100%;
	text-align: center;
	background: var(--menu-gradient);
	padding: 4px 0px;
}

#searchbars input {
	position: relative;
	border: 1px solid transparent;
	padding: 2px 2px 2px 4px;
	font-size: 0.9em;
	background-color: var(--background-color);
	color: var(--text-color);
}

#searchbars ul {
	margin: 0 auto;
}

#searchbars ul li {
	display: inline;
	margin: 0px 1px;
}

#searchbars ul li form {
	display: inline;
}

#alerts {
	margin-top: 83px;
	background: var(--background-color);
	padding: 10px 0px;
}

#cat-selector ul {
	width: 100%;
}

#cat-selector ul li {
	display: inline;
	width: 12em;
	height: 1em;
	float: left;
}

.alertbar {
	text-align: center;
	color: var(--text-color);
	font-weight: bold;
	font-size: 0.95em;
	width: 350px;
	margin: 0px auto 0px auto;
	padding: 10px;
}
.alertbar a {
	color: var(--accent-color);
}
.alertbar a:hover {
	text-shadow: 0 0 1px #d01aff;
	text-decoration: none;
}

.alertbar2 {
        border: 1px solid #8A0808;
        background-color: #FF0000;
        text-align: center;
        color: #190707;
        font-weight: bold;
        font-size: 0.95em;
        width: 350px;
        margin: 0px auto 0px auto;
        padding: 10px;
}
.alertbar2 a {
        color: #08088A;
        text-decoration: underline;
}
.alertbar2 a:hover {
        color: #0080FF;
        text-decoration: none;
}


/* IE doesn't appear to like a simple display:none in our header. Random things start fucking up pretty badly. */
.hidden {
	position: absolute;
	left: -10000px;
}

input.hidden {
	position: absolute;
	display: none;
}

/* Layout (Any page) */


.thin {
	width: 850px;
	margin: 0px auto;
}

#userinfo_username .brackets:before {
	content: "[";
}

#userinfo_username .brackets:after {
	content: "]";
}

#userinfo_major .brackets:before {
	font-weight: bold;
	content: "[";
}

#userinfo_major .brackets:after {
	font-weight: bold;
	content: "]";
}

div.linkbox {
	text-align: center;
	padding: 5px;
}
.linkbox>strong {
 color:var(--accent-color)
}
.center {
	text-align: center;
}

.right {
	text-align: right;
}

.min_padding {
	padding: 0px;
	margin: 0px 0px;
}

p.min_padding {
	margin: 2px 0px;
}

.pad {
	padding: 1em;
	background-color: var(--background-color);
}
.pad a {
	color: var(--accent-color);
}
.pad a:hover {
    text-shadow: 0 0 2px #d01aff;
}

.vertical_space {
	margin-bottom: 10px;
}

.box {
	font-size: 9pt;
	background-color: var(--background-color);
}

.pad h3, .pad h4, .padbox h3, .padbox h4 {
	margin-top: 0px;
	padding-top: 0px;
}

.sidebar {
	float: right;
	width: 250px;
	height: 100%;
}

.sidebar .box {
	margin: 0px 5px 10px 5px;
}

.head {
	padding: 4px;
	border-bottom: 1px solid #666;
	background: var(--menu-gradient);
	color: var(--text-color) ;
}

.body {
	padding: 3px 10px 10px 10px;
	background-color: var(--background-color);
}

.body a {
	color: var(--accent-color);
}

.main_column {
	margin: 0px 255px 10px 0px;
	width: 580px;
}

.main_column .box, .main_column table {
	margin-top: 5px;
	margin-bottom: 10px;
}

.tags {
	padding: 0px 0px 0px 20px;
	font-style: italic;
}

.tags a {
	color: var(--accent-color);
}

.tags a:hover {
	text-decoration: underline;
}

.noborder {
	border: none;
}

ul.nobullet {
	list-style-type: none;
}

table {
	width: 100%;
	border-collapse: collapse;
}

tr {
	background-color: var(--background-color);
}

tr.rowa {
	background-color: var(--alternate-background-color);
}
td {
	padding: 5px;
	text-align: left;
}

.colhead {
	background: var(--menu-gradient);
	font-weight: bold;
}

.forum_group_header {
        background: var(--menu-gradient);
        font-weight: bold;
        color: var(--text-color);
}

td.colhead, .colhead td {
	padding-left: 10px;
	padding-right: 10px;
}

.colhead .sign, .colhead_dark .sign {
	padding: 0px 8px 0px 8px;
	vertical-align:middle;
	text-align:center;
	font-size: 12pt;
	font-weight: bold;
}


.colhead .sign {
	padding: 0px 8px 0px 8px;
	font-size: 12pt;
	font-weight: bold;
}

.colhead_dark {
	background: var(--menu-gradient);
  font-size: 8pt;
	color: var(--text-color);
}

td.label {
	font-weight: bold;
	text-align: right;
	width: 180px;
}

table.slice {
	margin-top: -1px;
}

.error_message {
	border: 1px solid #666;
	padding: 3px 0px 3px 0px;
	background-color: #AF2525;
	text-align: center;
	color: white;
	font-weight: bold;
}

.save_message {
    border: 1px solid #666;
    padding: 3px 0px 3px 0px;
    background: var(--menu-gradient);
    text-align: center;
    color: var(--text-color);
    font-weight: bold;
}

.elem_error {
	border: 3px solid #B00D0D;
}

.hide {
	display:none;
}


/* Layout (home page) */

ul.stats li {
	padding: 0px 0px 1px 0px;
}

ul.poll li {
	padding: 0px 0px 0px 10px;
	margin: 0px;
}

ul.poll li.graph {
	margin-bottom: 3px;
	padding-left: 20px;
}

/* Layout (Torrents page) */

.show_torrents {
	width: 28px;
	height: 28px;
	background: url('https://i.imgur.com/3jUax8H.png') no-repeat center center;
}

.hide_torrents {
	width: 28px;
	height: 28px;
	background: url('https://i.imgur.com/pIEXB55.png') no-repeat center center;
}

.show_torrents_link {
	border: none;
	width: 28px;
	height: 28px;
	display: block;
}

.filter_torrents {
	width: 750px;
	margin: auto;
}

.filter_torrents .submit {
	text-align: right;
	padding-top: 5px;
}

.cat_list tr td {
	border: none;
}

.torrent_table {
	margin-left: 0.5px;
}

.torrent_table tr {
	vertical-align: top;
}

.torrent_table tr.torrent, .torrent_table tr.group {
	font-weight: bold;
}

.torrent_table tr.torrent_redline, .torrent_table tr.group_redline {
	font-weight: bold;
}

/* Freeleech text */
a[href^="torrents.php?"] + strong {
  color: var(--unread-soft-color);
}

table td a[href^="torrents.php?"] + strong {
  color: var(--unread-soft-color);
}

.torrent_table tr td a[href^="torrents.php?"] > strong {
  color: var(--unread-soft-color);
}

.group_torrent tr td a[href^="torrents.php?"] > strong {
  color: var(--unread-soft-color);
}

.group_torrent a strong {
  color: var(--unread-soft-color);
}

.torrent_table tr.group {
	background-color: var(--alternate-background-color);
	border: 2px solid #303030;
}
.torrent_table tr.group_torrent {
	background-color: var(--alternate-background-color);
	border: 2px solid #303030;
	background-color: var(--torrent-child);
}
.torrent_table tr.torrent {
	background-color: var(--alternate-background-color);
	border: 2px solid #303030;
}

.torrent_table tr.group_redline {
    background-color: var(--new-torrent);
		border: 1px solid #303030;
}
.torrent_table tr.group_torrent_redline {
    background-color: var(--torrent-child);
		border: 1px solid #303030;
}
.torrent_table tr.torrent_redline {
    background-color: var(--new-torrent);
		border: 1px solid #303030;
}
.torrent_table tr.group_redline > td:first-of-type,
.torrent_table tr.torrent_redline > td:first-of-type,
tr.unreadpm > td:first-of-type {
    box-shadow: inset 3px 0px var(--unread-color);
}
.torrent_table tr.group_torrent_redline > td:first-of-type {
    box-shadow: inset 3px 0px var(--unread-soft-color);
}
.torrent_table div.tags {
	font-weight: normal;
}

.torrent_table tr .center {
	vertical-align: middle;
	text-align: center;
}

.group_torrent span {
	float: right;
}

.group_torrent_redline span {
	float: right;
}

.torrent span {
	font-weight: normal;
	float: right;
}

.torrent_redline span {
	font-weight: normal;
	float: right;
}

.nobr {
	white-space: nowrap;
}

/* Layout (Forums) */

table.forum_post {
	margin: 10px 0px;
}

table.forum_post td {

}

table.forum_unread {
	border: 2px solid var(--accent-color);
	border-style: dotted;
}

td.avatar {
	width: 150px;
	height: 0px;
	padding: 0px;
}

table.forum_post td.body {
	width: 690px;
}
table.forum_post td.body a {
    color: var(--accent-color);
}
table.forum_post td.body a:hover {
    text-shadow: 0 0 2px #d01aff;
}

blockquote {
	margin: 10px;
	padding: 10px;
	border: 1px dashed #666;
	color: var(--unread-soft-color)!important;
}

pre {
	margin: 10px;
	padding: 10px;
	border: 1px dashed #666;
	color: var(--unread-soft-color)!important;
}


/* Layout (Inbox) */


/*
tr.unreadpm {
	background-color: #ECC;
}
*/

/* Layout (Permission Page) */

.permission_head {
	width:400px;
	margin-left:auto;
	margin-right:auto;
}

.permissions {
	width:930px;
	margin-left:auto;
	margin-right:auto;
}

.permission_container {
	float:left;
	width:300px;
	padding:5px;
}
.permission_container input {
	margin:0px 3px 5px 0px;
	vertical-align:top;
}

.submit_container {
	clear:both;
	text-align:right;
}

/* Layout (Invite tree) */

ul .invitetree {
	margin: 0px 0px 0px 25px;
}

.invitetree li {
	list-style: none;
	margin: 10px 2px;
}

/* Layout (MISC) */

#left_poll {
	width: 2px;
	height: 9px;
	background: url('images/bar_left.gif') no-repeat center center;
	float: left;
	margin: 0px;
	padding: 0px;
}

#center_poll {
	height: 9px;
	background: url('images/bar.gif') repeat;
	float: left;
	margin: 0px;
	padding: 0px;
}

#right_poll {
	width: 2px;
	height: 9px;
	background: url('images/bar_right.gif') no-repeat center center;
	float: left;
	margin: 0px;
	padding: 0px;
}

.curtain {
	display: none;
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index:1001;
	-moz-opacity: 0.8;
	opacity:.80;
	filter: alpha(opacity=80);
}

.lightbox {
	display: none;
	position: fixed;
	text-align: center;
	top: 5%;
	left: 5%;
	width: 90%;
	height: 90%;
	padding: 0px;
	z-index:1002;
	overflow: auto;
}

/* User class */

a.permission_1,.permission_1 { /* Anthill Kicker */
	color: #ffe743;
	text-shadow: 0 0 3px #bac3db;
}
a.permission_2,.permission_2 { /* User */
	color: #ccc;
}
a.permission_3,.permission_3 { /* Member */
	color: #ADD8E6;
}
a.permission_4,.permission_4 { /* Power User */
	color: #00cc66;
}
a.permission_5,.permission_5 {
	color: #3366CC;
}
a.permission_6,.permission_6 { /* VIP */
	color: #DFB301;
	text-shadow: 0 0 3px #ff4444;
}
a.permission_7,.permission_7 {
	color: #FFFF66;
}
a.permission_8,.permission_8 { /* Radio Moderator */
	color: #FE9A2E;
	text-shadow: 0 0 3px #bac3db;
}
a.permission_9,.permission_9 {
	color: #99FFFF;
}
a.permission_10,.permission_10 {
	color: #FFFF66;
    }
a.permission_11,.permission_11 { /* Moderator */
	color: #42c8ff;
text-shadow: 0 0 4px #005062;
font-size: 1.1em;
}
a.permission_12,.permission_12 {
	color: #CC0000;
}
a.permission_13,.permission_13 {
	color: #996666;
}
a.permission_14,.permission_14 { /*Developer */
	color: #F78181;
	text-shadow: 0 0 3px #bac3db;
}
a.permission_15,.permission_15 { /* Sysop */
	color: #ffff99;
	text-shadow: 0 0 3px #bac3db;
}
a.permission_20,.permission_20 { /* Donor */
	color: #ff4444;
font-size: 9pt;
}
.permission_21 { /* Restricted */
    color: #a2a2a2!important;
    text-shadow: 0 0 3px #000000;
}
a.permission_22,.permission_22 { /* Super VIP */
	color: #ee5e5e;
	text-shadow: 0 0 3px #4b2424;
	font-size: 1.1em!important;
}
a.permission_23,.permission_23 { /* Christmas Elf */
	color: #00cc66;
	text-shadow: 0 0 3px #ff4444;
}

/*Custom user icons*/
/* PinkGhost https://jpopsuki.eu/user.php?id=193864*/
a[href="user.php?id=193864"]::after {
	    content: url(https://i.imgur.com/lG2Bd5v.gif);
		vertical-align: -30%;
		position: relative;
		right: -2px
}
/*Beer - Zenova*/
a[href="user.php?id=108162"]::after {
	    content: url(https://i.imgur.com/N6Qy8Uh.png);
		vertical-align: -16%;
		position: relative;
		right: -2px
}
/*Don - ZillaNation*/
a[href="user.php?id=194033"]::after {
	    content: url(https://i.imgur.com/N2YKOxM.png);
		vertical-align: -16%;
		position: relative;
		right: -2px
}
/*Shark - SHarky555*/
a[href="user.php?id=191577"]::after {
	    content: url(https://i.imgur.com/QOYR85B.png);
		vertical-align: -16%;
		position: relative;
		right: -2px
}
/*Chef's Hat - Beatchef*/
a[href="user.php?id=13506"]::after {
	    content: url(https://i.imgur.com/HRpKdIt.png);
		vertical-align: -16%;
		position: relative;
		right: -2px
}

/*Hide Youtube Hrefs*/
a[href^='http://www.youtube.com/'] {
  display: none
}

.signature { margin: 2em 0 0 0; padding: .5em 0 0 0; border-top: 1px dotted #666; }

/*Search styling*/
input[type=email], input[type=password], input[type=search], input[type=text], input[type=url], textarea {
    line-height: 18px;
    margin: 3px auto;
    -webkit-transition: all .15s linear;
    -o-transition: all .15s linear;
    transition: all .15s linear;
    background: var(--alternate-background-color);
    border: 1px solid #101113;
    -webkit-box-shadow: inset 1px 2px 4px rgba(0,0,0,.3);
    box-shadow: inset 1px 2px 4px rgba(0,0,0,.3);
    color: #bbb!important;
}
input:focus {
	outline: none!important;
}
input[type=text]:focus, textarea:focus {
	outline: none!important;
}

/*Dropdown styling*/
select  {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 18px;
    margin: 3px auto;
    max-width: 100%;
    -webkit-transition: all .15s linear;
    -o-transition: all .15s linear;
    transition: all .15s linear;
    background: var(--alternate-background-color);
    border: 1px solid #101113;
    -webkit-box-shadow: inset 1px 2px 4px rgba(0,0,0,.3);
    box-shadow: inset 1px 2px 4px rgba(0,0,0,.3);
    color: #bbb;
    padding: 5px 7px;
	outline: none!important;
	-moz-appearance: none;
}

/* Dropdown options */
select option {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 3px auto;
    max-width: 100%;
    -webkit-transition: all .15s linear;
    -o-transition: all .15s linear;
    transition: all .15s linear;
    background: var(--background-color);
    border: 1px solid #101113;
    -webkit-box-shadow: inset 1px 2px 4px rgba(0,0,0,.3);
    box-shadow: inset 1px 2px 4px rgba(0,0,0,.3);
    color: #bbb;
    padding: 5px 7px;
}

.ui-autocomplete {
  background-color: var(--background-color)!important;
  border: 0.5px solid #6C5B7B!important;
}
/*Setting new image size on sidebar*/
.sidebar img {
 display:block;
 height:auto;
 width:auto;
 max-height:600px!important;
 min-width:200px;
 max-width:240px!important
}

/*Redacted button*/
button,
input[type=button],
input[type=submit] {
	cursor: pointer;
	outline: 0;
	-webkit-transition: all .1s linear;
	-o-transition: all .1s linear;
	transition: all .1s linear;
	background: -webkit-linear-gradient(top, #1a1a1b, #404044 1px, #2e2e30 2px, #222225);
	background: -o-linear-gradient(top, #1a1a1b 0, #404044 1px, #2e2e30 2px, #222225 100%);
	background: linear-gradient(180deg, #1a1a1b 0, #404044 1px, #2e2e30 2px, #222225);
	border: 1px solid #1b1b1b;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
	color: #7f7f7f;
	padding: 6px 10px;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, .5)
}

button:hover,
input[type=button]:hover,
input[type=submit]:hover {
	background: -webkit-linear-gradient(top, #1d1d20, #3c3c3e 1px, #2e2e30 2px, #212124);
	background: -o-linear-gradient(top, #1d1d20 0, #3c3c3e 1px, #2e2e30 2px, #212124 100%);
	background: linear-gradient(180deg, #1d1d20 0, #3c3c3e 1px, #2e2e30 2px, #212124);
	color: #bbb
}

button:active,
button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=submit]:active,
input[type=submit]:focus {
	background: -webkit-linear-gradient(top, #1a1a1a, #323232 1px, #202020 2px, #212121);
	background: -o-linear-gradient(top, #1a1a1a 0, #323232 1px, #202020 2px, #212121 100%);
	background: linear-gradient(180deg, #1a1a1a 0, #323232 1px, #202020 2px, #212121);
	color: #444
}
input[type=email]:disabled,
input[type=password]:disabled,
input[type=search]:disabled,
input[type=text]:disabled,
input[type=url]:disabled,
textarea:disabled {
	font-style: italic;
	color: #ff0505;
	text-shadow: 1px 1px 1px #000
}

input[type=checkbox],
input[type=checkbox]+label {
	cursor: pointer;
	margin: 3px;
	vertical-align: middle
}

input[type=checkbox]+label {
	margin: 2px 10px 2px 0;
	-webkit-transition: all .15s linear;
	-o-transition: all .15s linear;
	transition: all .15s linear;
	color: var(--text-color);
}

input[type=checkbox]:checked+label {
	color: var(--accent-color);
}
